package com.molihub.entity;

import lombok.*;

/**
 * @ClassName: ArticleTagToShow
 * @Description: 用于在前端渲染的标签实体类，包含文章数
 * @author: xw
 * @date 2020/2/2 18:33
 * @Version: 1.0
 **/
@Builder
@Getter
@Setter
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@AllArgsConstructor
public class ArticleTagToShow {

    /**
     * 文章标签
     */
    private ArticleTag tag;
    /**
     * 文章数量
     */
    private Integer count;


    public void setArticleTagId(Integer articleTagId) {
        tag.setArticleTagId(articleTagId);
    }

    public String getArticleTagName() {
        return tag.getArticleTagName();
    }

    public void setArticleTagName(String articleTagName) {
        tag.setArticleTagName(articleTagName);
    }

    public Integer getUserId() {
        return tag.getUserId();
    }

    public void setUserId(Integer userId) {
        tag.setUserId(userId);
    }

}
